package com.hc.controller;

import com.hc.service.AsyncService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hs
 * @date 2021/05/06
 */
@RestController
public class AsyncController {
    @Autowired
    AsyncService service;

    @GetMapping("/hello")
    public String testAsyn(){
        service.testAsyn();
        return "okokok";
    }

}
